﻿using System;
using System.Collections.Specialized;
using System.Text;

namespace BlogBackUp
{
    public class BlogBackupImp
    {
        private String blogHomePage = "";
        private int blogIndexPageNum = 0;
        private String saveDir = "";

        private StringCollection allArticles = new StringCollection();

        public BlogBackupImp(String blogHomePage, int blogIndexPageNum, string saveDir)
        {
            this.blogHomePage = blogHomePage;
            this.blogIndexPageNum = blogIndexPageNum;
            this.saveDir = saveDir;
        }

        private String ConstructIndexPage(int index)
        {
            String indexPage = blogHomePage + "/" + @"default.html?page=" + index.ToString();
            return indexPage;
        }

        public void GetAllArticles()
        {
            for (int i = 1; i < blogIndexPageNum; i++)
            {
            }
        }

        
    }
}
